#pragma once

#include "cocos2d.h"
#include "EventHelper.h"

USING_NS_CC;
using namespace std;

class MMBigButton :public LayerColor, public EventHelper
{
	public:
	MMBigButton() :EventHelper(this) {};
	static MMBigButton* create(float width, string iconfile, string labelstr);

	public:
	Sprite* Icon;
	Label* Label;
	Sprite* Hover;
	LayerColor* Hoverunderline;

	void onMouseMove(Event* e);
	void onMouseDown(Event* e);
};

class MMBottomBar :public ClippingRectangleNode
{
	public:
	static MMBottomBar* create(float height, bool isTitle = false);

	public:
	Label* bgmTitle;
	Label* bgmArtist;

	public:
	void setBgmInfo(string title, string artist);
};